package com.example.service.impl;

import com.example.mapper.UsersMapper;
import com.example.pojo.Users;
import com.example.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UsersServiceImpl implements UserService {

    @Autowired
    private UsersMapper usersMapper;

    @Override
    public Users getUsersById(int id) {
        return usersMapper.selectById(id);
    }
}
